//
//  GERootViewController.m
//  GPurchase
//
//  Created by limei.li on 2017/5/10.
//  Copyright © 2017年 gta Education. All rights reserved.
//

#import "GERootViewController.h"

@interface GERootViewController ()

@end

@implementation GERootViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    //创建navigationBar
    UILabel *navigationLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, 44)];
    navigationLabel.text = self.title;
    [navigationLabel sizeToFit];
    
    navigationLabel.textAlignment = NSTextAlignmentCenter;
    self.navigationItem.titleView = navigationLabel;
    
    self.view.backgroundColor = [UIColor whiteColor];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
